/*
* Copyright © Shanghai Awinic Technology Co., Ltd. 2020-2020. All rights reserved.
* Description: The header file of the public definition.
* Date： 20201126
* Awinic_Version： aw_soc_driver_v1.0.0
*/
#include "compile_option.h"
#ifdef AW_86802

#ifndef __AW8680X_DEF_H
#define __AW8680X_DEF_H

/* Include ------------------------------------------------------------------*/
#include "aw_type.h"
#include "aw8680x.h"

/* Exported types ------------------------------------------------------------*/

/* SYS macro definition */
#define SYS_CLOCK (24000000)

/* Public definition */

#ifndef AW_NUM_NULL
#define AW_NUM_NULL (0)
#endif

/* end public definition */

/**
  * @brief  Awinic soc lib status structures definition.
  */
enum ret_status {
	RET_OK = 0x00U,
	RET_ERROR = 0x01U,
	RET_BUSY = 0x02U,
	RET_TIMEOUT = 0x03U
};
typedef enum ret_status RET_STATUS_E;

/**
  * @brief  Awinic soc lib status structures definition.
  */
enum irq_priority
{
	AW_PRIORITY_0 = 0x00U,
	AW_PRIORITY_1 = 0x01U,
	AW_PRIORITY_2 = 0x02U,
	AW_PRIORITY_3 = 0x03U
};
typedef enum irq_priority IRQ_PRI_E;

#endif
#endif
